import Cookies from 'js-cookie'
 
///默认数据保存7天
const expires = 7;
///保存cookies
export const save = (key,value) => {
    Cookies.set('name', 'value', { expires: expires }); 
}
///获取Cookies
export const get = (key) => {
    return Cookies.get(key);
}

///移除Cookies
export const remove = (key) => {
   Cookies.remove(key);
}
